$theme-color: #1c77d3;
$border-color: #e3ecf8;

* {
  box-sizing: border-box;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  background: #f0f2f5;
  font-weight: 400;
  color: #333333;
  font-style: normal;
}
ul {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.main {
  width: 1200px;
  margin: 0 auto;
}

.page-container {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.el-button {
  width: 120px;
  height: 36px;
  background: $theme-color;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 36px;
  text-align: center;
  font-style: normal;
  border-radius: 8px;
}
.el-button:hover{
background: #79bbff;;
}
.back-btn {
  background-color: #ffffff !important;
  color: #1C77D3 !important;
  border-radius: 8px;
  border: 1px solid #1C77D3;
  font-weight: 500;
  font-size: 16px;
}

.back-btn:hover{
  border:none;
  background-color: #1C77D3 !important;
  color: #ffffff !important;
}

.cursor_p{
  cursor: pointer;
}

.border-bottom {
  border-bottom: 1px solid $border-color;
}

.single-line-ellipsis {
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 超出用省略号表示 */ /* 设置容器宽度 */
}

.multi-line-ellipsis {
  display: -webkit-box; /* 必须设置，用于多行溢出 */
  -webkit-box-orient: vertical; /* 设置盒子排列方向为垂直 */
  -webkit-line-clamp: 3; /* 限制显示的行数，例如显示 3 行 */
  overflow: hidden; /* 隐藏超出的内容 */
  width: 200px; /* 设置容器宽度 */
}

.column-label-item {
  /* el-from label 和 控件换行显示 */
  :deep(.el-form) {
    display: flex;
    flex-flow: row wrap;
    .el-form-item {
      display: flex;
      flex-flow: column nowrap;
      justify-content: flex-start;
      align-items: flex-start;
      vertical-align: middle;
      .el-form-item__content {
        width: 100%;
      }
      .el-form-item__label {
        font-weight: 400;
        font-size: 16px;
        color: #333333;
        height:16px;
        line-height: 16px;
        margin-bottom:10px;
      }
      .el-input,.el-select>.el-select__wrapper {
        height: 36px;
        border-radius: 8px;
        border: 1px solid #e3ecf8;
      }
      .el-input__wrapper,.el-textarea__inner{
        padding:11px 10px;
        border-radius: 8px;
        box-shadow:none;
        border: 1px solid #E3ECF8;
      }
    }
  }
  .el-form-item.is-required:not(.is-no-asterisk).asterisk-left
    > .el-form-item__label:before {
    color: #d32222 !important;
    content: "*";
    margin-right: 4px;
  }
  .el-form-item__error{
    color: #d32222 !important;
  }
  .el-form-item.is-error .el-select__wrapper
  {
    box-shadow: 0 0 0 1px  #d32222  inset !important;
  }
}

.el-input.is-disabled .el-input__wrapper {
  background-color: #ebebeb;
  border-radius: 8px;
}

.background-img-format{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
}

.column-label-item-vant{
    :deep(.van-cell-group--inset){
      margin:0 !important;
      padding:0 !important;
      .van-field__control::-webkit-input-placeholder {
        font-weight: 400;
        font-size: 0.4rem;
        color: #999999;
      }
      /* vant label 和 控件换行显示 */
      .van-cell {
        width:8.133rem;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        vertical-align: middle;
        border-bottom: 0.027rem solid #E0E0E0 ;
        padding: 0 !important;
        margin-left:0.933rem;
        margin-right:0.933rem;
        margin-bottom:0.907rem;
        .van-field__label {
          font-weight: 500;
          font-size: 0.4rem;
          color: #333333;
          height:0.56rem;
          line-height: 0.56rem;
          margin:0;
          margin-bottom:0.213rem
        }
        .van-cell__value {
          font-weight: 400;
          font-size: 0.4rem;
          height: 0.56rem;
          color: #333333;
          width:7.6rem;
          padding-bottom: 0.213rem;
        }
        .show-pwd-icon{
          width:0.427rem;
          height:0.267rem;
        }
        .hide-pwd-icon{
          width:0.48rem;
          height:0.48rem;
        }
      }
    }
}